//
//  YZComplicationModel.m
//  kuaiyi
//
//  Created by WGP on 16/5/4.
//
//

#import "YZComplicationModel.h"

@implementation YZComplicationModel

+(instancetype)complicationWith:(NSDictionary *)dict
{
    id obj = [[self alloc] init];
    [obj setValuesForKeysWithDictionary:dict];
    return obj;
}
+(NSArray *)arrayWithDicts:(NSArray *)dicts
{
    NSMutableArray *arrM = [NSMutableArray array];
    for (NSDictionary *dict in dicts) {
        
        [arrM addObject:[YZComplicationModel complicationWith:dict]];
    }
    return arrM;
}

@end
